﻿<phone:PhoneApplicationPage 
    x:Class="BootyShaker.AboutPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:adduplex="clr-namespace:AdDuplex;assembly=AdDuplex.WindowsPhone"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d" d:DesignHeight="800" d:DesignWidth="480"
    shell:SystemTray.IsVisible="False" Loaded="PhoneApplicationPage_Loaded">

    <!--LayoutRoot is the root grid where all page content is placed-->
    <Grid x:Name="LayoutRoot" >
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
            
        </Grid.RowDefinitions>

        <!--TitlePanel contains the name of the application and page title-->
        <StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="12,17,0,28">
            <TextBlock Foreground="#FFFFDEF2" x:Name="ApplicationTitle" Text="BootyShaker" Style="{StaticResource PhoneTextNormalStyle}"/>
            <TextBlock Foreground="#FFFFDEF2" x:Name="PageTitle" Text="About" Margin="9,-7,0,0" Style="{StaticResource PhoneTextTitle1Style}"/>
        </StackPanel>

        <!--ContentPanel - place additional content here-->
        <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="*"/>

            </Grid.RowDefinitions>
            <!--<ScrollViewer     ScrollViewer.VerticalScrollBarVisibility="Hidden" Grid.Row="1" Margin="0,0,0,10">-->
                <StackPanel Orientation="Horizontal" VerticalAlignment="Top" UseLayoutRounding="True">
                    <StackPanel VerticalAlignment="Top" Margin="10,10,20,10">
                    <TextBlock Foreground="#FFFFDEF2" x:Name="Version" Text="Version 1.0" Margin="9,-7,0,20" Style="{StaticResource PhoneTextTitle2Style}"/>
                    <TextBlock Foreground="#FFFFDEF2" Grid.Column="1" Grid.Row="0" HorizontalAlignment="Stretch" Margin="10,0,0,0" VerticalAlignment="Stretch"  TextWrapping="Wrap">
            Copyright © 2012 Motif, Lithuania
                    </TextBlock>
                    <TextBlock Foreground="#FFFFDEF2" Grid.Column="1" Grid.Row="0" HorizontalAlignment="Stretch"  Margin="10,0,0,0"   VerticalAlignment="Stretch"  TextWrapping="Wrap">
            Developer: Kęstutis Bagdonas
                    </TextBlock>
                   
                </StackPanel>
                
                <Image Name="image1" Stretch="Fill"  Source="/BootyShaker;component/Images/MotifLogo.png" Height="73" Width="91" VerticalAlignment="Center" />
                
                </StackPanel>
                
            <!--</ScrollViewer>-->
            <Grid Grid.Row="1">
                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto"></RowDefinition>
                    <RowDefinition Height="Auto"></RowDefinition>
                    <RowDefinition Height="Auto"></RowDefinition>
                    <RowDefinition Height="Auto"></RowDefinition>
                </Grid.RowDefinitions>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="auto"></ColumnDefinition>
                    <ColumnDefinition></ColumnDefinition>
                </Grid.ColumnDefinitions>
               


                <Image Margin="10,10,20,10" Grid.Column="0" Grid.Row="0"  Source="/BootyShaker;component/Icons/rate.png" Stretch="None" Tap="Image_Rate" />
                <TextBlock Foreground="#FFFFDEF2"  Grid.Column="1" Grid.Row="0"  HorizontalAlignment="Stretch" Margin="10,10,10,10" VerticalAlignment="Center" TextTrimming="None" TextWrapping="Wrap" >
           Rate the app
                </TextBlock>


                <Image Margin="10,10,20,10" Grid.Column="0" Grid.Row="1"  Source="/BootyShaker;component/Icons/cart.png"  Stretch="None" Tap="Image_Buy" ImageFailed="Image_ImageFailed" />
                <TextBlock Foreground="#FFFFDEF2"  Grid.Column="1" Grid.Row="1"   HorizontalAlignment="Stretch" Margin="10,10,10,10" VerticalAlignment="Center" TextTrimming="None" TextWrapping="Wrap">
           Buy the app
                </TextBlock>
                
                <Image Margin="10,10,20,10" Grid.Column="0" Grid.Row="2" Source="/BootyShaker;component/Icons/appbar.basecircle.rest.png" Stretch="None" VerticalAlignment="Center" HorizontalAlignment="Left" />
                <Image Margin="10,10,20,10" Grid.Column="0" Grid.Row="2" Source="/BootyShaker;component/Icons/appbar.feature.email.rest.png" Stretch="None" VerticalAlignment="Center" HorizontalAlignment="Left" Tap="Image_Email" />
                <TextBlock Foreground="#FFFFDEF2" Grid.Column="1" Grid.Row="2" HorizontalAlignment="Stretch" Margin="10,10,10,10"  VerticalAlignment="Center"  TextWrapping="Wrap">
           Write to us
                </TextBlock>
            </Grid>
        </Grid>
        <adduplex:AdControl  Grid.Row="1" VerticalAlignment="Bottom" x:Name="AdDuplex" 
                    AppId="10811" 
                    />
        <Grid.Background>
            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                <GradientStop Color="#ed8383" Offset="0" />
                <GradientStop Color="#dc9094" Offset="1" />
            </LinearGradientBrush>
        </Grid.Background>
    </Grid>

    <!--Sample code showing usage of ApplicationBar-->
    <!--<phone:PhoneApplicationPage.ApplicationBar>
        <shell:ApplicationBar IsVisible="True" IsMenuEnabled="True">
            <shell:ApplicationBarIconButton IconUri="/Images/appbar_button1.png" Text="Button 1"/>
            <shell:ApplicationBarIconButton IconUri="/Images/appbar_button2.png" Text="Button 2"/>
            <shell:ApplicationBar.MenuItems>
                <shell:ApplicationBarMenuItem Text="MenuItem 1"/>
                <shell:ApplicationBarMenuItem Text="MenuItem 2"/>
            </shell:ApplicationBar.MenuItems>
        </shell:ApplicationBar>
    </phone:PhoneApplicationPage.ApplicationBar>-->

</phone:PhoneApplicationPage>
